package com.lanxin.oa.zc.dao.daoImpl;

import com.lanxin.base.BaseDaoImpl;
import com.lanxin.bean.ZcAssettype;
import com.lanxin.oa.zc.dao.ZcTypeDao;
import org.springframework.stereotype.Repository;

import java.util.List;
@Repository
public class ZcTypeDaoImpl extends BaseDaoImpl implements ZcTypeDao {
    @Override
    public List selectzctypes() {
        return super.queryAll("from ZcAssettype");
    }

    @Override
    public ZcAssettype selectzctyoebyid(Integer oid) {
        ZcAssettype zc=(ZcAssettype)super.getById(ZcAssettype.class,oid);
        return zc;
    }
}
